package org.example.mapper;

import org.apache.ibatis.annotations.Select;
import org.example.entity.User;

import java.util.List;
import java.util.Map;

public interface UserDao {

    int updateByMap(Map<String, Object> parameter);

    @Select("select * from user where account = #{account}")
    List<User> getByAccount(String account);
}
